package com.zfj.controller;

import com.zfj.service.IMessageProvider;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author zfj
 * @date 2022/5/15 -14:48
 */
@RestController
public class SendMessageController {
	@Resource
	private IMessageProvider messageProvider;

	@GetMapping("/sendMessage")
	public String sendMessage(){
		return messageProvider.send();
	}
}
